export const http = function({method,url,data,headers,success}){
 
  wx.request({
    method,
    url,
    data,
    headers,
    success:(res)=>{
  
      success(res);
    },
    fail:(err)=>{

    }
  })
}